//
//  LoginPhoneVerifyViewController.m
//  insyte
//
//  Created by Vu Dang Tuan on 6/19/15.
//  Copyright (c) 2015 Robert. All rights reserved.
//

#import "LoginPhoneVerifyViewController.h"
#import "Helpers.h"
#import "Constants.h"

@interface LoginPhoneVerifyViewController ()

@end

@implementation LoginPhoneVerifyViewController
{
    float _yAs;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self setUpNavigationBar];
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(dismissKeyboard)];
    
    [self.view addGestureRecognizer:tap];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)setUpNavigationBar{
    UIBarButtonItem *btnBack = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:Ic_Back] style:UIBarButtonItemStylePlain target:self action:@selector(OnBackClicked)];
    self.navigationItem.leftBarButtonItem = btnBack;
    self.navigationItem.titleView = nil;
}
- (void) OnBackClicked{
    [self.navigationController popViewControllerAnimated:YES];
}

@end
